#!/usr/bin/python2
# -*- coding: utf8 -*-
from PyQt4 import QtCore
from utils.log import log

class ModelsManager(QtCore.QObject):
    def __init__(self):
        log.debug("init modelsManager")
        QtCore.QObject.__init__(self)
    @QtCore.pyqtSlot(int)
    def createModel(self, modelName):
        print modelName
        return 0
    @QtCore.pyqtProperty(list)
    def createModelP(self):
        return [1, 2]
